home *** CD-ROM | disk | FTP | other *** search
- Path: apoll.informatik.uni-bonn.de!zeus!malerz
- From: malerz@zeus.informatik.uni-bonn.de (Andreas Malerz)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Need help with strange screens
- Date: 25 Jan 1996 10:31:55 GMT
- Organization: Universit"at Bonn, Informatik Abt. II, R"omerstr. 164, 53117 Bonn
- Message-ID: <4e7m6r$o8s@apoll.informatik.uni-bonn.de>
- NNTP-Posting-Host: zeus.informatik.uni-bonn.de
- X-Newsreader: TIN [version 1.2 PL2]
-
- Hello!
-
- I tried to scroll a very big picture in an OS-conform way on a screen.
- That's why I opened a LORES-screen like this:
-
- struct Rectangle blubb=
- {
- 0, 0, 320, 256
- };
-
- ...
-
- screen=OpenScreenTags( NULL, SA_Top, 0,
- SA_Left, 0,
- SA_Width, 640,
- SA_Height, 512,
- SA_Type, LORES_KEY,
- SA_DClip, &blubb,
- TAG_DONE);
-
- The rectangle is declared, because I wanted only this range to be visible. But this
- simple doesn't work. The x-size is displayed correctly, but my screen is always
- higher than 256 pixels. The rectangle is (in y-direction) only useful to make the
- mouse not to go outside the boundaries.
-
- But I would like to make the visible area only 320x256. What should I do? This must
- be possible, since the workbench works this way. (You can open a screen bigger than
- the visible area.)
-
- Hopefully one of you cracks know a solution, since this problem seems very easy
- to me, but I could not find a solution.
-
- Greetings,
- Andy.
-
-